<table class="table">
    <tr>
        <td>ID</td>
        <td>JAM_KE</td>
        <td>MULAI</td>
        <td>SELESAI</td>
        <td>ACTION</td>
    </tr>
    <?php foreach ($jampe as $mhs) : ?>
        <tr>
            <td><?php echo $mhs['id'];?></td>
            <td><?php echo $mhs['jam_ke'];?></td>
            <td><?php echo $mhs['mulai'];?></td>
            <td><?php echo $mhs['selesai'];?></td>
            <td>
                <a href="<?php echo site_url() ?>/admin/ubah_jam/<?php echo $mhs['id']; ?>">Ubah</a> || 
                <a href="<?php echo site_url() ?>/admin/del_jam/<?php echo $mhs['id']; ?>" onclick="return confirm('Apakah sudah benar benar yakin untuk menghapus data ?')">Hapus</a> 
            </td>
        </tr>
    <?php endforeach; ?>
</table>